body,html{
    /* w100p 这样就能够缩写 width: 100%;*/
    position: relative;
    width: 100%;
    height: 100%;
    background: url('/assets/images/login_bg.jpg') no-repeat top center;
    /* 背景图标全覆盖 */
    background-size:cover ;
}

.header{
    padding-left: 10px;
    padding-top: 20px;
}

.login-register{
    width: 400px;
    height: 310px;
    background-color: #fff;
    border-radius: 5px;
    position: absolute;
    /* 水平垂直居中 */
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 0 20px;

    .title-box{
        height: 60px;
        background: url(/assets/images/login_title.png) no-repeat center center;
    }
    #loginBox .layui-btn{
        width: 100%;
        border-radius: 4px;
        background-color: #1890ff;
    }
     .layui-form-item{
        margin-bottom: 25px;
    }
    .pwd{
        position: relative;
        label{
            position: absolute;
            top: 6px;
            right: 15px;
            width: 24px;
            height: 24px;
            background: url(/assets/images/close.png);
            background-size: cover;
            & .active {
                background-image: url(/assets/images/open.png);
            }   
        }

    }
    a{
        color: #1890ff;
    }
}